package com.shop.loan.model.vo;

import lombok.Getter;
import lombok.Setter;
import xyz.erupt.annotation.Erupt;
import xyz.erupt.annotation.EruptField;
import xyz.erupt.annotation.sub_field.Edit;
import xyz.erupt.annotation.sub_field.EditType;
import xyz.erupt.annotation.sub_field.View;
import xyz.erupt.annotation.sub_field.sub_edit.ChoiceType;
import xyz.erupt.annotation.sub_field.sub_edit.Search;
import xyz.erupt.annotation.sub_field.sub_edit.VL;
import xyz.erupt.jpa.model.BaseModel;


@Erupt(name = "查询风控报告")
@Getter
@Setter
public class UserReportVo extends BaseModel {

//    private Long orderId;

    private Integer getNew;

    private Long userId;

    /**
     * 类型
     */
    @EruptField(
            views = @View(title = "类型"),
            edit = @Edit(
                    title = "类型",
                    type = EditType.CHOICE,
                    notNull = true,
                    choiceType = @ChoiceType(
                            vl = {
                                    @VL(label = "探针C", value = "3"),//探针C
                                    @VL(label = "全景雷达", value = "4"),//雷达
//                                    @VL(label = "天狼星", value = "1"),//天狼星
                            }
                    ))
    )
    private Integer type;


    /**
     * 姓名
     */
    @EruptField(
            views = @View(title = "姓名"),
            edit = @Edit(title = "姓名", search = @Search(vague = true), notNull = true)
    )
    private String idCardName;

    /**
     * 身份证号码
     */
    @EruptField(
            views = @View(title = "身份证号码", width = "200px"),
            edit = @Edit(title = "身份证号码", search = @Search(vague = true), notNull = true)
    )
    private String idCardNumber;

    /**
     * 手机号码
     */
    @EruptField(
            views = @View(title = "手机号码"),
            edit = @Edit(title = "手机号码", search = @Search(vague = true), notNull = true)
    )
    private String mobile;

}
